package chatBot.service;


import chatBot.entity.User;

import java.io.IOException;
import java.util.Map;

/**
 * @Author 余俊杰
 * 2024/8/18 11:38
 */
public interface WeChatService {
    public String getOpenIdFromCode(String code) throws IOException;

    public User login(String code, String username) throws IOException;

    public Map<String,Object> bind(String openId, String email, String password);

}
